package com.mmd.manage.dao;

import com.mmd.common.entity.MmdOrderProduct;
import com.mmd.common.mapper.MmdOrderProductMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MmdOrderProductDao extends MmdOrderProductMapper {
    List<MmdOrderProduct> list(@Param("pkgNo") String pkgNo,@Param("level") String level);

    List<MmdOrderProduct> customList(@Param("pkgNo") String pkgNo);

    List<MmdOrderProduct> listByOrderNo(@Param("orderNo") String orderNo,@Param("level") String level);

    int deleteByOrderNo(@Param("orderNo") String orderNo);
}
